package com.xiao.bargain.feign;

import com.xiao.group.common.Vo.UsersEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("user-server")
public interface AdminFeign {
    @RequestMapping("/admin/users/info")
    public UsersEntity info(@RequestParam(value = "id",defaultValue = "0") Integer id);
}
